var app = new Vue({
	el: "#app",
	data: {
		name: "",
		password: ""
	},
	methods: {
		login: function() {
			static_ajax.post("/learnuser/login")
				.success(function(e) {
					window.location.href = "index.html";
				})
				.data({
					name: this.name,
					password: this.password
				})
				.ajax();
		}
	}
});